//
//  QParamService.h
//  QoilPublic
//
//  Created by 杨凯 on 16/7/1.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QParamService : NSObject
+ (NSString*)getToken;
//字典转字符串
+ (NSString*)dictToString:(id)data;

+ (NSString*)arrToString:(id)data;

//倒计时
+ (void)onTimer:(UIButton *)button type:(BOOL)type;

//拼接的url
+ (NSString*)urlWithAction:(NSString*)action;

//上传图片的
+ (NSString*)urlWithAction:(NSString*)action token:(NSString*)token;

//注册
+ (NSDictionary *)registertel:(NSString *)tel
             verificationCode:(NSString *)verificationCode
                     password:(NSString *)password
                  machineCode:(NSString *)machineCode
                   pleaseCode:(NSString *)pleaseCode;

//获取验证码
+ (NSDictionary *)getauthcodetel:(NSString *)tel type:(NSString *)type;

//用户登录
+ (NSDictionary *)loginWithtel:(NSString *)tel
                      password:(NSString *)password
                   machineCode:(NSString *)machineCode;

//忘记密码
+ (NSDictionary *)forgetPassWordWithtel:(NSString *)tel
                       verificationCode:(NSString *)verificationCode
                               password:(NSString *)password
                            machineCode:(NSString *)machineCode;

//用户个人中心
+ (NSDictionary *)getMyCentreData:(NSString *)orderType;

//退出登录
+ (NSDictionary *)signOut;

//修改昵称
+ (NSDictionary *)changeNickName:(NSString *)nickName;

//全部订单
+ (NSDictionary *)allMyorderType:(NSString *)orderType
                           start:(NSString *)start
                        pageSize:(NSString *)pageSize;

//订单详情
+ (NSDictionary *)detailOrderid:(NSString *)orderId;

//取消订单
+ (NSDictionary *)cancelOrder:(NSString *)orderId;

//评价订单
+ (NSDictionary *)judgeOrder:(NSString *)orderId
                       score:(NSString *)score
                     content:(NSString *)content
                        type:(NSString *)type
                labelContent:(NSString *)labelContent;

//普通用户提交订单
+ (NSDictionary *)submitOrderName:(NSString *)name
                             time:(NSString *)time
                             city:(NSString *)city
                        limitArea:(NSString *)limitArea
                          address:(NSString *)address
                              lon:(NSString *)lon
                              lat:(NSString *)lat
                              tel:(NSString *)tel
                             flag:(NSString *)flag
                           remark:(NSString *)remark
                        OilTypeId:(NSString *)oilTypeId
                         OilPrice:(NSString *)oilPrice InputPrice:(NSString *)inputPrice FreightPrice:(NSString *)freightPrice;

//评价详情
+ (NSDictionary *)judgeDetailorderId:(NSString *)orderId;


//充值界面
+ (NSDictionary *)topupMoney;

//充值
+ (NSDictionary *)topupFromWeChatWithType:(NSString *)type denominationid:(NSString *)denominationid money:(NSString *)money activityType:(NSString *)activityType;
//用户付款
+ (NSDictionary *)payWithorderId:(NSString *)orderId
                   paymentStatus:(NSString *)paymentStatus
                     payPassWord:(NSString *)payPassWord
                       draweeTel:(NSString *)draweeTel
                      couponCode:(NSString *)couponCode;


//修改头像
+ (NSDictionary *)editHeadPic;

//设置支付密码
+ (NSDictionary *)setPassWord:(NSString *)payPassword;

//意见反馈
+ (NSDictionary *)feedBackString:(NSString *)content;

//获取评价标签
+ (NSDictionary *)getEvaluationTags;

//版本更新
+ (NSDictionary *)updateVersion:(NSString *)fileType;

//加满订单详情
+ (NSDictionary *)fullOrderId:(NSString *)orderId;

//上传记事本数据
+ (NSDictionary *)upLoadDatayearMonth:(NSString *)yearMonth
                                 type:(NSString *)type
                             fileName:(NSString *)fileName;


//下载文件路径
+ (NSDictionary *)updateDatatype:(NSString *)type fileName:(NSString *)fileName;


//推荐有奖
+ (NSDictionary *)awardWithType:(NSString *)type;

//免费办证
+ (NSDictionary *)freeCertifiCateListpageNum:(NSString *)pageNum pageSize:(NSString *)pageSize;

//提交办证
+ (NSDictionary *)submitCertifiCateAddUser:(NSString *)addUser phone:(NSString *)phone certificatesNumber:(NSString *)certificatesNumber stats:(NSString *)stats;

//账户明细
+ (NSDictionary *)billingDetailstart_time:(NSString *)start_time
                       end_time:(NSString *)end_time;


//忘记支付密码
+ (NSDictionary *)forgetPayPassword:(NSString *)verificationCode;

//未支付订单
+ (NSDictionary *)noPayOrder;

//获得金额
+ (NSDictionary *)getMoneyWithOrder:(NSString *)orderId;

//审请为地推
+ (NSDictionary *)reviewpleaseWithtrueName:(NSString *)trueName
                                    idcard:(NSString *)idcard
                                       tel:(NSString *)tel;

//支付方式
+ (NSDictionary *)getPayMethodWithtype:(NSString *)type;

//连接网络电话接口
+ (NSDictionary *)callPhoneWithOrderId:(NSString *)orderId flag:(NSString *)flag;

//开票信息管理
+ (NSDictionary *)findInvoiceListWithState:(NSString *)state Start:(NSString *)start pageSize:(NSString *)pageSize;

//删除开票信息
+ (NSDictionary *)deletInvoiceDetailWithCredentialsId:(NSString *)credentialsId;
//普通发票添加
+ (NSDictionary *)createCredentialsWithInvoiceType:(NSString *)invoiceType Name:(NSString *)name Tel:(NSString *)tel Address:(NSString *)address;

//发票纪录列表
+ (NSDictionary *)findInvoiceRecordList;

//发票纪录详情
+ (NSDictionary *)findInvoiceRecordDetailWithInvoiceId:(NSString *)invoiceId;

//获取发票详情
+ (NSDictionary *)findInvoiceDetailWithCredentialsId:(NSString *)credentialsId;

//获取开票订单
+ (NSDictionary *)findInvoiceOrderList;

//获取开票订单金额，税费
+ (NSDictionary *)findInvoiceOrderMoneyWithOrderIds:(NSString *)orderIds OrderAmount:(NSString *)orderAmount InvoiceType:(NSString *)invoiceType StartDate:(NSString *)startDate EndData:(NSString *)endData;

//申请开票
+ (NSDictionary *)createBillingWithOrderIds:(NSString *)orderIds OrderAmount:(NSString *)orderAmount InvoiceType:(NSString *)invoiceType CredentialsId:(NSString *)credentialsId UserType:(NSString *)userType StartDate:(NSString *)startDate EndDate:(NSString *)endDate;

//三级营销-我的佣金显示
+ (NSDictionary *)getMyCommission;

//三级营销-我的上下级
+ (NSDictionary *)getMySSubordinateWithStart:(NSString *)start PageSize:(NSString *)pageSize;

//三级营销-我的客户
+ (NSDictionary *)getMyCommissionOrdersWithCommissionId:(NSString *)commissionId Start:(NSString *)start PageSize:(NSString *)pageSize;
+ (NSDictionary *)getInvoiceType;
//积分明细
+ (NSDictionary *)getIntegralOrderInfoActionWithOper_type:(NSString *)oper_type    Start:(NSString *)start PageSize:(NSString *)pageSize;
//签到详情
+ (NSDictionary *)getUserSignInInfoAction;
//签到 1签到 2分享 3评价
+ (NSDictionary *)userSignInActionWithAdd_type:(NSString *)add_type;
//卡券类型
+ (NSDictionary *)getUserAllCouponWithCoupon_state:(NSString *)coupon_state Start:(NSString *)start PageSize:(NSString *)pageSize;
//可用卡券请求
+ (NSDictionary *)getUserCanUsedCouponWithOrderid:(NSString *)orderid;
//可用卡券数量
+ (NSDictionary *)getUserCanUsedCoupanCntWithOrderid:(NSString *)orderid;
//卡券详情
+ (NSDictionary *)getCouponValueWithCardCode:(NSString *)cardCode;
//兑换券码
+ (NSDictionary *)UserAccessCardWithType:(NSString *)type Card_code:(NSString *)card_code;
//积分商城 兑吧
+ (NSDictionary *)integralMallURL;
//获取历史地址
+ (NSDictionary *)getHistoryAddress;
//加油过程
+ (NSDictionary *)getCarRealtimeComeonDataWithOrderId:(NSString *)orderId;
//获取消息分类列表
+ (NSDictionary *)getTypeListWithMachineId:(NSString *)machineId Start:(NSString *)start PageSize:(NSString *)pageSize;
//机器码
+ (NSString *)getUUID;
//上传机器码
+ (NSDictionary *)addMacInfoWithMac:(NSString *)mac UmdUids:(NSString *)umdUids;
//获取用户是否有未读消息
+ (NSDictionary *)getIsUnLookWithMac:(NSString *)mac;
//获取首页消息
+ (NSDictionary *)getMsgNewInfoWithMac:(NSString *)mac PtType:(NSString *)ptType;
//获取消息分类列表
+ (NSDictionary *)getMsgListWithMac:(NSString *)mac PtTypeh:(NSString *)ptType Start:(NSString *)start PageSize:(NSString *)pageSize;
//更新消息查看状态
+ (NSDictionary *)addPushIsLookWithPurId:(NSString *)purId;
//获取完善订单信息
+ (NSDictionary *)getSaveOrderInformationWithCity:(NSString *)city Area:(NSString *)area;
//首页广告倒计时广告
+ (NSDictionary *)indexAdvertWithSrcId:(NSString *)srcId SrType:(NSString *)srType;
//获取车辆经纬度
+ (NSDictionary *)getPositionWithCarNumber:(NSString *)carNumber;
//通讯录上报
+ (NSDictionary *)saveAddressBookWithInfo:(NSString *)info;
//活动
+ (NSDictionary *)getInviterActivityInfo;

+ (NSDictionary *)getUsercard;

//获取订单通知信息
+ (NSDictionary *)gainOrderInfoWithStart:(NSString *)start pageSize:(NSString *)pageSize;

//获取所有银行
+ (NSDictionary *)GainALLBanks;

//绑定银行卡
+ (NSDictionary *)BindingBankWithName:(NSString *)name CardType:(NSString *)cardType CardNum:(NSString *)cardNum  Identity:(NSString *)identity Ramark:(NSString *)ramark Code:(NSString *)code;
+ (NSDictionary *)getCardCode;

//获取是否有绑定银行
+ (NSDictionary *)GainIsOrNoBanks;

//获取提现数据
+ (NSDictionary *)GainTiXianWithCardId:(NSString *)cardType CardNum:(NSString *)cardNum Money:(NSString *)money;

//新评价订单
+ (NSDictionary *)CommentOrder:(NSString *)orderId content:(NSString *)content evalJsonstr:(NSString *)evalJsonstr;

//星级文字
+ (NSDictionary *)GainStarText;

//显示评价
+ (NSDictionary *)GainValuationDataWithOrderId:(NSString *)orderNum;
//交易明细
+ (NSDictionary *)GainTransactionDetailsWithStart:(NSString *)start pageSize:(NSString *)pageSize;

//智能加油申请
+ (NSDictionary *)GainUserInfoWithName:(NSString *)name Phone:(NSString *)phone;

+ (NSString*)urlWithIOTAction:(NSString*)action;

@end
